<!DOCTYPE html>
<!--
lab3-points.html
-->
<html>
<head>
<meta charset="utf-8">
<style>
canvas {
  border: 1px solid #000;
}
</style>

<!-- Define our shaders -->
<script id="vertex-shader" type="x-shader/x-vertex">
attribute vec4 vPosition;
attribute vec4 vColor;
varying vec4 fColor;
uniform float pointSize;

void main() {
  gl_Position = vPosition;
  gl_PointSize = pointSize;
  fColor = vColor;
}
</script>

<script id="fragment-shader" type="x-shader/x-fragment">
precision mediump float;
varying vec4 fColor;

void main() {
  gl_FragColor = fColor;
}
</script>

<script src="../Common/webgl-utils.js"></script>
<script src="../Common/initShaders.js"></script>
<script src="../Common/MV.js"></script>

<script src="lab3-points.js"></script>

</head>
<body>
<canvas id="gl-canvas" width="640" height="480">
  Your browser doesn't support HTML5!
</canvas>
</body>
</html>
